package DesignPattern.Singleton.HungrySingleton;

public class HungrySingleton {
    private static final HungrySingleton instance=new HungrySingleton();
    private HungrySingleton(){

    };
    public static HungrySingleton getInstance(){
        return instance;
    }
    public void action(){
        System.out.println("Hungry Action");
    }


}

